package xin.tianhui.cloud.weblog.model.po;

import java.util.Date;
import com.baomidou.mybatisplus.annotation.*;

import xin.tianhui.cloud.weblog.core.model.po.BaseEntityPO;


import lombok.Data;
import lombok.EqualsAndHashCode;


/**
 * <p>
 * 
 * </p>
 *
 * @author junchen
 * @since 2018-04-11
 */
@Data
@EqualsAndHashCode(callSuper = true)

@TableName("t_comment")
public class Comment extends BaseEntityPO {

    private static final long serialVersionUID = 1L;

    private Integer id;
    private String content;
    /**
     * 回复id
     */
    @TableField("reply_id")
    private Integer replyId;
    /**
     * 昵称
     */
    private String nickname;
    /**
     * 用户头像
     */
    @TableField("user_icon")
    private String userIcon;
    private String ip;
    /**
     * //1为评论框直接发表的评论，2为第三方回流的评论
     */
    private Integer type;
    @TableField("create_time")
    private Date createTime;
    @TableField("channel_id")
    private Integer channelId;
    @TableField("article_id")
    private Integer articleId;


}
